# -*- coding: utf-8 -*-


def utf8_encode(sequence):
    if sequence is None:
        return None
    return sequence.encode('utf-8')


def utf8_decode(bin):
    if bin is None:
        return None
    return bin.decode('utf-8')
